<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>原产地特产</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
        <include file="public/comm" />

	</head>

	<body>
		<div class="search fs_xl cls">
			<div class="mui-input-row fs_xl">
				<input type="search" class="fs_xl" placeholder="五粮液" id="keyword">
					<label class="fs_xl"><em class="fs_m" id="search">搜索</em></label>
				<i class="fs_xxxl mui-icon mui-icon-search"></i>
			</div>
			<div class="sea_img">
				<img src="__STATIC__/images/logo003.png" class="fs_xl" />
			</div>
		</div>
		<include file="public/bottom_nav" />
		<div class="mui-content" style="padding-top: 0;">
			<div class="device fs_xl">
				<div class="swiper-container fs_xl">
					<div class="swiper-wrapper fs_xl">
						<adv pid ="7" limit="5" item="v">
							<div class="swiper-slide"><a href="{$v.ad_link}" <if condition="$v['target'] eq 1">target="_blank"</if> ><img src="{$v[ad_code]}" width="100%" /></a></div>
				        </adv>
					</div>
					<div class="pagination"></div>
				</div>
			</div>
			<div class="meau fs_xl cls">
				<a href="{:U('Mobile/Goods/category',array('cid'=>1,'type'=>1))}">
					<img src="__STATIC__/images/jpbj.png" />
					<p class="fs_s">精品白酒</p>
				</a>
				<a href="{:U('Mobile/Goods/category',array('cid'=>2,'type'=>1))}">
					<img src="__STATIC__/images/iiiiii.png" />
					<p class="fs_s">清香小酒</p>
				</a>
				<a href="{:U('Mobile/Goods/category',array('cid'=>3,'type'=>2))}">
					<img src="__STATIC__/images/chaye.png" />
					<p class="fs_s">茗茶专区</p>
				</a>
				<a href="{:U('Mobile/exchange/exchange_list')}">
					<img src="__STATIC__/images/duihuan02.png" />
					<p class="fs_s">兑换专区</p>
				</a>

				<a href="{:U('Mobile/Activity/group_list')}">
					<img src="__STATIC__/images/img28.png" />
					<p class="fs_s">团购</p>
				</a>
				<!--<a href="{:U('Mobile/Goods/indianaList')}">
					<img src="__STATIC__/images/img26.png" />
					<p class="fs_s">一元夺宝</p>
				</a>-->
				<a href="{:U('Mobile/Activity/seckill_list')}">
					<img src="__STATIC__/images/img24.png" />
					<p class="fs_s">限时抢购</p>
				</a>
				<a href="{:U('Mobile/Goods/hotGoodsList')}">
					<img src="__STATIC__/images/img33.png" />
					<p class="fs_s">热销商品</p>
				</a>
			</div>
			<div class="jq_adv">
				<adv pid ="8" limit="1" item="v">
			    	<a href="{$v.ad_link}" <if condition="$v['target'] eq 1">target="_blank"</if> ><img src="{$v[ad_code]}" title="{$v[title]}" width="100%" style="{$v[style]}"/></a>
		     	</adv> 
			</div>
			<div class="p_buy cls">
				<div class="p_buy_rt fs_m cls">
					<ul>
						<li>
							<a href="/Mobile/Goods/goodsInfo/id/24.html">
							<p class="tit fs_m">盛世佳酿</p>
							<p class="tit_js fs_xs">传世典藏</p>
							<p><img src="__STATIC__/images/img00001.jpg" /></p>
							</a>
						</li>
						<li>
							<a href="/Mobile/Goods/goodsInfo/id/30">
							<p class="tit fs_m">酒到福到</p>
							<p class="tit_js fs_xs">泸州老窖</p>
							<p><img src="__STATIC__/images/img00002.jpg" /></p>
							</a>
						</li>
						<li>
							<a href="/Mobile/Goods/goodsInfo/id/75.html">
							<p class="tit fs_m">东奔西走</p>
							<p class="tit_js fs_xs">必喝好酒</p>
							<p><img src="__STATIC__/images/img00003.jpg" /></p>
							</a>
						</li>
						<li>
							<a href="/Mobile/Goods/goodsInfo/id/77.html">
							<p class="tit fs_m">酒品如人品</p>
							<p class="tit_js fs_xs">品酒品人生</p>
							<p><img src="__STATIC__/images/img00004.jpg" /></p>
							</a>
						</li>
					</ul>
					<div class="hx"></div>
					<div class="sx"></div>
				</div>
				<div class="p_buy_lt fs_m">
					<a href="{:U('Mobile/Activity/seckill_list')}">
						<img src="__STATIC__/images/img44.png" />
						<p><img src="__STATIC__/images/miaosha.jpg" /></p>
					</a>
				</div>
			</div>
			<div class="jq_adv">
				<adv pid ="9" limit="1" item="v">
			    	<a href="{$v.ad_link}" <if condition="$v['target'] eq 1">target="_blank"</if> ><img src="{$v[ad_code]}" title="{$v[title]}" width="100%" style="{$v[style]}"/></a>
		     	</adv>
			</div>
			<!--<div class="one_ind">
				<div class="title cls"><em class="fs_l">一元夺宝</em>
					<a href="{:U('Mobile/Goods/indianaList')}">更多></a>
				</div>
				<div class="swiper-container1">
					<div class="swiper-wrapper" id="djs">
						<if empty($indiana_sale_list)>
							<p class="fs_l" style="text-align: center;padding: 5em 2em 0;color:#333;">暂无新夺宝活动，下一期夺宝活动将于6月2日开启！</p>
						<else />
							<volist name="indiana_sale_list" id="vo">
								<div class="swiper-slide cls">
									<div class="db_lt">
										<p class="db_tit fs_l">{$vo.title}</p>
										<p class="db_jg"><span class="db_pri fs_xi"><em class="fs_xs">¥</em>{$vo.price}<em class="fs_xs">.00</em></span><span class="cs_pri fs_xs">¥{$vo.market_price}</span></p>
										<p class="db_djs fs_m" data-time="{$vo.end_time}">距结束<span class="time_d"></span>天<span class="time_h"></span>时<span class="time_m"></span>分</p>
										<p class="db_btn">
											<a href="{:U('/Mobile/Goods/indianaInfo',array('id'=>$vo.id))}">立即夺宝</a>
										</p>
									</div>
									<div class="db_rt">
										<img src="{$vo[goods_id]|goods_thum_images=150,150}" />
									</div>
								</div>
							</volist>
						</if>
					</div>
					<div class="pagination1"></div>
				</div>
			</div>-->
			<div class="jq_adv">
				<adv pid ="10" limit="1" item="v">
			    	<a href="{$v.ad_link}" <if condition="$v['target'] eq 1">target="_blank"</if> ><img src="{$v[ad_code]}" title="{$v[title]}" width="100%" style="{$v[style]}"/></a>
		     	</adv>
			</div>
			<div class="team_g">
				<div class="title cls"><em class="fs_l">团购</em>
					<a href="{:U('Mobile/Activity/group_list')}">更多></a>
				</div>
				<div class="team_m">
					<div class="team_top cls">
						<a href="/Mobile/Goods/goodsInfo/id/140.html">
							<p class="fs_l">精品果酒</p>
							<p class="fs_xs"><span>一支珍品   魅力盛宴</span></p>
							<p><img src="__STATIC__/images/wuliangye_09.jpg" /></p>
						</a>
						<a href="/Mobile/Goods/goodsInfo/id/97.html">
							<p class="fs_l">传统工艺</p>
							<p class="fs_xs"><span>匠心陈酿好味道</span></p>
							<p><img src="__STATIC__/images/wuliangye_001.jpg" /></p>
						</a>
					</div>
					<div class="team_bom cls">
						<a href="/Mobile/Goods/goodsInfo/id/93.html">
							<p class="purple fs_l">地藏窖酒</p>
							<p class="fs_xs">地里长出来的美酒</p>
							<p><img src="__STATIC__/images/xiangzhiyi42.png" /></p>
						</a>
						<a href="/Mobile/Goods/goodsInfo/id/26.html">
							<p class="green fs_l">美酒发布</p>
							<p class="fs_xs">好酒送到   快来尝尝</p>
							<p><img src="__STATIC__/images/chongyang01.png" /></p>
						</a>
						<a href="/Mobile/Goods/goodsInfo/id/94.html">
							<p class="pink fs_l">天地合一</p>
							<p class="fs_xs">美酒乡之忆  纯粮玉液</p>
							<p><img src="__STATIC__/images/xiangzhiyi60.png" /></p>
						</a>
					</div>
				</div>
			</div>
			<div class="jq_adv">
				<adv pid ="59" limit="1" item="v">
			    	<a href="{$v.ad_link}" <if condition="$v['target'] eq 1">target="_blank"</if> ><img src="{$v[ad_code]}" title="{$v[title]}" width="100%" style="{$v[style]}"/></a>
		     	</adv>
			</div>
			<div class="hot_m">
				<div class="title cls"><em class="fs_l">热销产品</em>
					<a href="{:U('Mobile/Goods/hotGoodsList')}">更多></a>
				</div>
				<div class="hot_list cls">
					<ul class="cls">
						<volist name="hotGoods_list"  id="vo">
							<li>
								<a href="{:U('/Mobile/Goods/goodsInfo',array('id'=>$vo.goods_id))}">
									<img src="{$vo[goods_id]|goods_thum_images=245,245}" />
									<p class="good_n fs_s">{$vo.goods_name}</p>
									<p><span class="s_p1 fs_l">¥{$vo.shop_price}</span></p>
									<span class="gwc mui- icon iconfont icon-gouwuche2 fs_xi"></span>
								</a>
							</li>
						</volist>
					</ul>
				</div>
			</div>
		</div>

		<script type="text/javascript">
			mui.init();
			var winW = $("body").width();
			var ltW = $(".p_buy_lt").width();
			$(".p_buy_rt").width(winW - ltW - 2);
			$(".team_top a").width((winW - 1) / 2);
			$(".device,.swiper-container").height($(".swiper-slide img").height());
			$(".swiper-container1").height($(".swiper-slide").height());
			$(window).resize(function() {
				$(".device,.swiper-container").height($(".swiper-slide img").height());
				$(".swiper-container1").height($(".swiper-slide").height());
			});
			$(".good_n").each(function(){
				var srt=$(this).text();
				if(srt.length>20){
					var new_s=srt.substring(0,20)+"...";
					$(this).text(new_s);
				}
			})
			
			var srt1=$(".db_tit").text();
			if(srt1.length>20){
				var new_s1=srt1.substring(0,10)+"...";
				$(".db_tit").text(new_s1);
			}
		</script>
		<script type="text/javascript">
			wx.onMenuShareTimeline({
			    title: '123', // 分享标题
			    link: 'www.fengtantianxia.com', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
			    imgUrl: '', // 分享图标
			    success: function () { 
			    	alert(1);
			        // 用户确认分享后执行的回调函数
			    },
			    cancel: function () { 
			    	alert(2);
			        // 用户取消分享后执行的回调函数
			    }
			});
		</script>
		<script>
			$(function(){
				var t1=$(".swiper-slide-active .db_djs").attr("data-time");
      			show_time(t1,".swiper-slide-active .time_d",".swiper-slide-active .time_h",".swiper-slide-active .time_m");
      			$('#search').click(function(){
      				var keyword = $("#keyword").val();
      				location.href= "/mobile/search/search/keyword/"+keyword;
      			});
      			$("#keyword").on('keypress',function(e) {  
                var keycode = e.keyCode;  
                var searchName = $(this).val();  
                if(keycode=='13') {  
                    e.preventDefault();    
                    var keyword = $("#keyword").val();
  					location.href= "/mobile/search/search/keyword/"+keyword;
                }  
         		});
			
			})//开始默认第一个倒计时显示
			var mySwiper = new Swiper('.swiper-container', {
				pagination: '.pagination',
				loop: true,
				autoplay : 5000,
				grabCursor: true,
				autoplayDisableOnInteraction : false,
				paginationClickable: true
			});
			var mySwiper1 = new Swiper('.swiper-container1', {
				pagination: '.pagination1',
				loop: true,
				autoplay : 5000,
				grabCursor: true,
				autoplayDisableOnInteraction : false,
				paginationClickable: true,
				onSlideChangeEnd: function(swiper){
      				var t1=$(".swiper-slide-active .db_djs").attr("data-time");
      				show_time(t1,".swiper-slide-active .time_d",".swiper-slide-active .time_h",".swiper-slide-active .time_m");
    			}//回调函数，滑动div触发倒计时显示
			})
//			$(function() {
//				show_time();
//			});
			function show_time(T1,id1,id2,id3) {
				var time_start = new Date().getTime(); //设定当前时间
				var time_end = new Date(T1).getTime(); //设定目标时间
				// 计算时间差 
				var time_distance = time_end - time_start;// 天
				var int_day = Math.floor(time_distance / 86400000)
				time_distance -= int_day * 86400000;// 时
				var int_hour = Math.floor(time_distance / 3600000)
				time_distance -= int_hour * 3600000;// 分
				var int_minute = Math.floor(time_distance / 60000)
				time_distance -= int_minute * 60000;// 秒 
				var int_second = Math.floor(time_distance / 1000)
				if(int_day < 10) {
					int_day = "0" + int_day;
				}// 时分秒为单数时、前面加零
				if(int_hour < 10) {
					int_hour = "0" + int_hour;
				}
				if(int_minute < 10) {
					int_minute = "0" + int_minute;
				}
				if(int_second < 10) {
					int_second = "0" + int_second;
				}
				$(id1).html(int_day);
				$(id2).html(int_hour);
				$(id3).html(int_minute);
//				$("#time_s").html(int_second);// 显示时间 				
				setTimeout("show_time()", 1000);// 设置定时器
			}
		</script>
	</body>

</html>